package com.xue566.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 成绩实体类
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "achievement_info")
public class AchievementEntity extends BaseEntity {


    @TableId(value = "achievementId", type = IdType.INPUT)
    private String achievementId;
    @TableField(value = "stuId")
    private String stuId;
    @TableField(value = "classId")
    private String classId;
    @TableField(value = "courseId")
    private String courseId;
    @TableField(value = "examinationTime")
    private String examinationTime;
    @TableField(value = "score")
    private String score;
    @TableField(value = "note")
    private String note;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "userId")
    private String userId;
    @TableField(value = "isUsed")
    private int isUsed;


    public String getAchievementId () {
        return achievementId;
    }

    public void setAchievementId (String achievementId) {
        this.achievementId = achievementId;
    }


    public String getStuId () {
        return stuId;
    }

    public void setStuId (String stuId) {
        this.stuId = stuId;
    }


    public String getClassId () {
        return classId;
    }

    public void setClassId (String classId) {
        this.classId = classId;
    }


    public String getCourseId () {
        return courseId;
    }

    public void setCourseId (String courseId) {
        this.courseId = courseId;
    }


    public String getExaminationTime () {
        return examinationTime;
    }

    public void setExaminationTime (String examinationTime) {
        this.examinationTime = examinationTime;
    }


    public String getScore () {
        return score;
    }

    public void setScore (String score) {
        this.score = score;
    }


    public String getNote () {
        return note;
    }

    public void setNote (String note) {
        this.note = note;
    }


    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }


    public String getUserId () {
        return userId;
    }

    public void setUserId (String userId) {
        this.userId = userId;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
